package ecstore.customWidgets;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;


public class ItemFlexTable extends Composite{
	
    VerticalPanel panel = new VerticalPanel();
    FlexTable flextable = new FlexTable();

    Button downButton = new Button("New Row");
    Button rightButton = new Button("New Item");

    public ItemFlexTable(){
    	initWidget(panel);
    	HorizontalPanel buttons = new HorizontalPanel();
    	buttons.add(downButton);
    	buttons.add(rightButton);
    	
    	panel.add(flextable);
    	
    	rightButton.setVisible(false);
    	
    	
    }
}
